Inside Macintosh: Sound
|
Previous
|
Chapter contents
|
Chapter top
|
Section top
|
Next
|
Contents
About the Sound Manager
Sound Data
Square-Wave Data
Wave-Table Data
Sampled-Sound Data
Sound Commands
Sound Channels
Sound Compression and Expansion
Using the Sound Manager
Managing Sound Channels
Allocating Sound Channels
Initializing Sound Channels
Releasing Sound Channels
Manipulating a Sound That Is Playing
Stopping Sound Channels
Pausing and Restarting Sound Channels
Synchronizing Sound Channels
Managing Sound Volumes
Obtaining Sound-Related Information
Obtaining Information About Available Sound Features
Obtaining Version Information
Testing for Multichannel Sound and Play-From-Disk Capabilities
Obtaining Information About a Single Sound Channel
Obtaining Information About All Sound Channels
Determining and Changing the Status of the System Alert Sound
Playing Notes
Installing Voices Into Channels
Looping a Sound Indefinitely
Playing Sounds Asynchronously
Using Callback Procedures
Synchronizing Sound With Other Actions
Managing an Asynchronous Play From Disk
Playing Selections
Managing Multiple Sound Channels
Parsing Sound Resources and Sound Files
Obtaining a Pointer to a Sound Header
Playing Sounds Using Low-Level Routines
Finding a Chunk in a Sound File
Compressing and Expanding Sounds
Using Double Buffers
Setting Up Double Buffers
Writing a Doubleback Procedure
Sound Storage Formats
Sound Resources
The Format 1 Sound Resource
The Format 2 Sound Resource
Sound Files
Chunk Organization and Data Types
The Form Chunk
The Format Version Chunk
The Common Chunk
The Sound Data Chunk
Format of Entire Sound Files
Sound Manager Reference
Constants
Gestalt Selector and Response Bits
Channel Initialization Parameters
Sound Command Numbers
Chunk IDs
Data Structures
Sound Command Records
Audio Selection Records
Sound Channel Status Records
Sound Manager Status Records
Sound Channel Records
Sound Header Records
Extended Sound Header Records
Compressed Sound Header Records
Sound Double Buffer Header Records
Sound Double Buffer Records
Chunk Headers
Form Chunks
Format Version Chunks
Common Chunks
Extended Common Chunks
Sound Data Chunks
Version Records
Leftover Blocks
State Blocks
Sound Manager Routines
Playing Sound Resources
SysBeep
SndPlay
Playing From Disk
SndStartFilePlay
SndPauseFilePlay
SndStopFilePlay
Allocating and Releasing Sound Channels
SndNewChannel
SndDisposeChannel
Sending Commands to a Sound Channel
SndDoCommand
SndDoImmediate
Obtaining Information
SndSoundManagerVersion
MACEVersion
SndControl
SndChannelStatus
SndManagerStatus
SndGetSysBeepState
SndSetSysBeepState
GetSoundHeaderOffset
Controlling Volume Levels
GetSysBeepVolume
SetSysBeepVolume
GetDefaultOutputVolume
SetDefaultOutputVolume
Compressing and Expanding Audio Data
Comp3to1
Comp6to1
Exp1to3
Exp1to6
Managing Double Buffers
SndPlayDoubleBuffer
Performing Unsigned Fixed-Point Arithmetic
UnsignedFixMulDiv
Linking Modifiers to Sound Channels
SndAddModifier
Application-Defined Routines
Completion Routines
MyCompletionRoutine
Callback Procedures
MyCallbackProcedure
Doubleback Procedures
MyDoubleBackProc
Resources
The Sound Resource
© 1998 Apple Computer, Inc.
|
Previous
|
Chapter contents
|
Chapter top
|
Section top
|
Next
|